﻿Imports System.Data.SqlClient

Public Class EditViewProfile
    Inherits System.Web.UI.Page

    Protected Sub Page_Load3(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        SqlDataSource1.SelectParameters(0).DefaultValue = Membership.GetUser.UserName()
        DetailsView1.DataBind()
    End Sub

    Protected Sub saveProfileButtonClick(ByVal sender As Object, ByVal e As EventArgs) Handles saveButton.Click
        SqlDataSource1.Update()
    End Sub

    Protected Sub Button1_Click3(ByVal sender As Object, ByVal e As EventArgs) Handles backButton.Click
        Response.Redirect("EmployeeHome.aspx")
    End Sub

End Class